projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d64d15
)
(font-menu-add-default): Use list, not cons, for new elt.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 11 Aug 1993 19:22:35 +0000
(19:22 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 11 Aug 1993 19:22:35 +0000
(19:22 +0000)
Don't get confused if no Misc entry.
lisp/mouse.el
patch
|
blob
|
history
diff --git
a/lisp/mouse.el
b/lisp/mouse.el
index f5a264d2a4b604805d5a77f61252be7c577fa663..49e78c4f1b6df99cef1ca672904b5c3e44843686 100644
(file)
--- a/
lisp/mouse.el
+++ b/
lisp/mouse.el
@@
-888,7
+888,7
@@
and selects that window."
(defun font-menu-add-default ()
(let* ((default (cdr (assq 'font (frame-parameters (selected-frame)))))
(font-alist x-fixed-font-alist)
- (elt (
assoc "Misc" font-alist
)))
+ (elt (
or (assoc "Misc" font-alist) (nth 1 font-alist)
)))
(if (assoc "Default" elt)
(delete (assoc "Default" elt) elt))
(setcdr elt